package com.itheima.service.db;

import com.itheima.domain.db.Notification;

/**
 * @author Guanxing
 * @date 2021/9/19
 */
public interface NotificationService {
    //根据id查询通知
    Notification findByUid(Long userId);

    //保存
    void save(Notification notification);

    //修改
    void update(Notification notification);
}
